package com.sumainfor.wx.system.maket.dao;

import com.sumainfor.wx.system.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.omg.CORBA.OBJ_ADAPTER;

import java.util.List;
import java.util.Map;

@Mapper
@DS("market")
public interface RdWorderMapper {

    /**
     * 今日需带看
     * @param params
     * @return
     */
    List<Map<String,Object>> getWorderListToday(Map<String,Object> params);
    Integer getWorderListCountToday(Map<String,Object> params);


    /**
     * 公共转单池
     * @param params
     * @return
     */
    List<Map<String,Object>> getWorderListPublic(Map<String,Object> params);
    Integer getWorderListCountPublic(Map<String,Object> params);


    /**
     * 私有转单池
     * @param params
     * @return
     */
    List<Map<String,Object>> getWorderListPrivate(Map<String,Object> params);
    Integer getWorderListCountPrivate(Map<String,Object> params);



    Integer addWorder(Map<String,Object> params);


    Map<String,Object> getWorderByTenIdSetId(Map<String,Object> params);


    /**
     * 介绍标签
     * @param
     * @return
     */
    List<Map<String, Object>> selectDetailList(@Param("ids") List<String> ids);



    
    /**
     * 维护租客可理解为在跟客户
     * @author zhoucong
     * @data 2019/8/26
     * @Param 
     * @return 
     */
    List<Map<String, Object>> getWorderListMaintain(Map<String,Object> params);
    Integer getWorderListCountMaintain(Map<String,Object> params);



    /**
     * 修改工单
     * @author zhoucong
     * @data 2019/8/27
     * @Param
     * @return
     */
    Integer updateWorder(Map<String,Object> params);
}

